package cn.cmcc.intertelecom.dao;

import cn.cmcc.intertelecom.bean.GeneratorRoom;
import cn.cmcc.intertelecom.bean.GeneratorRoomExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GeneratorRoomMapper {
    long countByExample(GeneratorRoomExample example);

    int deleteByExample(GeneratorRoomExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GeneratorRoom record);

    int insertSelective(GeneratorRoom record);

    List<GeneratorRoom> selectByExample(GeneratorRoomExample example);
    
    GeneratorRoom selectByPrimaryKey(Integer id);
    
    List<GeneratorRoom> selectByExampleWithDeptAndAdmin(GeneratorRoomExample example);
    GeneratorRoom selectByPrimaryKeyWithDeptAndAdmin(Integer id);

    int updateByExampleSelective(@Param("record") GeneratorRoom record, @Param("example") GeneratorRoomExample example);

    int updateByExample(@Param("record") GeneratorRoom record, @Param("example") GeneratorRoomExample example);

    int updateByPrimaryKeySelective(GeneratorRoom record);

    int updateByPrimaryKey(GeneratorRoom record);
}